package com.spring.reactive.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

@RequestMapping("hello")
@RestController
public class HelloController {


    @GetMapping
    public Mono<String> hello(){
        return Mono.just("hello");
    }


}
